package com.duixiang.lei.shangpin;
/*
   商品 Goods   商品名称  商品编号   商家  id   价格    型号
 */
public class Goods {
    private String Goodsname;
    private int GoodsID ;




    public Goods() {
    }

    public String getGoodsname() {
        return Goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.Goodsname = goodsname;
    }

    public int getGoodsID() {
        return GoodsID;
    }

    public void setGoodsID(int goodsID) {
        this.GoodsID = goodsID;
    }

    public Goods(String goodsname, int goodsID) {
        this.Goodsname = goodsname;
        this.GoodsID = goodsID;
    }

    public void price(double price){
        System.out.println("这件商品的价格是:"+ price);
    }
    public  void size(String size){
        System.out.println("这件商品的型号是:"+size);
    }


}
